package top.wshape1.shiziapi.project.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_project_edit_history
 */
@TableName(value ="t_project_edit_history")
@Data
public class EditHistory implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private Long projectId;

    /**
     * 
     */
    private Long docId;

    /**
     * 
     */
    private Integer docType;

    /**
     * 
     */
    private Long editorId;

    /**
     * 0修改project信息，1新建doc，2删除doc，3重命名doc，4保存版本，5成员变更
     */
    private Integer editType;

    /**
     * 
     */
    private String editBefore;

    /**
     * 
     */
    private String editAfter;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}